Note: This statement is named Set .NET Property with Arguments in the Add Statement dialog box.
Sets the value of a .NET property with parameters in an array.
Only use this statement if you have Visual C# .NET or Visual Basic .NET experience.
Syntax
SetDotNETPropertyWithArgs("PropertyName", Value, ArrayOfParameters)
Arguments
| Argument | Description |
|---|---|
| PropertyName | .NET property. |
| Value | Value to set. |
| ArrayOfParameters | Array that holds parameters to pass to the .NET property. |
Supported objects
Browser, Button, Calendar, Cell, CheckBox, ColumnHeader, ComboBox, ContextMenu, Control, DateTimePicker, EditBox, Grid, HTMLElement, HTMLLink, HTMLTable, Image, Item, Label, Link, ListBox, ListView, Menu, NavigationField, PopupMenu, ProgressBar, RadioButton, Row, RowHeader, ScrollBar, Slider, SpinBox, SubItem, Tab, TabBar, ToolBar, Tree, Window
Example
Dim array(2)
array(1) = "ColumnName"
array(2) = 10 'row index
Window(".NET Window").Grid("CustomGrid").SetDotNETPropertyWithArgs("CellValue", array)